using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Daemon.Model
{
    [Table("department")]
    public class Department
    {
        [Key]
        [Column("Id")]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]

        public int Id { get; set; }
        public string DepartmentName { get; set; }
        public int FatherId { get; set; }
        public bool State { get; set; }
        public int OrderNum { get; set; }
        public DateTime AddTime { get; set; }
    }
}